import configparser

conf = configparser.ConfigParser()
# conf.read("F:\\workspaces\\python-workspace\\python-qyweixin\\config\\config_common.ini", encoding="UTF-8")
conf.read("/usr/local/service/weixin/config/config_common.ini", encoding="UTF-8")

#WEATHER
WEATHER_APP_KEY = conf.get("WEATHER", "WEATHER_APP_KEY")
WEATHER_API_URL = conf.get("WEATHER", "WEATHER_API_URL")

#NEWSTOP
NEWSTOP_APP_KEY = conf.get("NEWSTOP", "NEWSTOP_APP_KEY")
NEWSTOP_API_URL = conf.get("NEWSTOP", "NEWSTOP_API_URL")





